﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Medical.Business;

public partial class control_Subject : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            InitData();
        }
    }

    protected void InitData()
    {
        //专题广告栏
        DataTable dtSubject = new BisBanner().GetList(AdverTypeEnum.Subject);
        rptSubject.DataSource = dtSubject;
        rptSubject.DataBind();
    }
}